package net.factoryOpen.quickfactory.manufacturing.ehs.mapper;

import java.util.List;
import net.factoryOpen.quickfactory.manufacturing.ehs.domain.EhsPollutionCategory;

/**
 * 污染排放分类Mapper接口
 * 
 * @author factoryOpen
 * @date 2024-07-04
 */
public interface EhsPollutionCategoryMapper 
{
    /**
     * 查询污染排放分类
     * 
     * @param id 污染排放分类主键
     * @return 污染排放分类
     */
    public EhsPollutionCategory selectEhsPollutionCategoryById(Long id);

    /**
     * 查询污染排放分类列表
     * 
     * @param ehsPollutionCategory 污染排放分类
     * @return 污染排放分类集合
     */
    public List<EhsPollutionCategory> selectEhsPollutionCategoryList(EhsPollutionCategory ehsPollutionCategory);

    /**
     * 新增污染排放分类
     * 
     * @param ehsPollutionCategory 污染排放分类
     * @return 结果
     */
    public int insertEhsPollutionCategory(EhsPollutionCategory ehsPollutionCategory);

    /**
     * 修改污染排放分类
     * 
     * @param ehsPollutionCategory 污染排放分类
     * @return 结果
     */
    public int updateEhsPollutionCategory(EhsPollutionCategory ehsPollutionCategory);

    /**
     * 删除污染排放分类
     * 
     * @param id 污染排放分类主键
     * @return 结果
     */
    public int deleteEhsPollutionCategoryById(Long id);

    /**
     * 批量删除污染排放分类
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteEhsPollutionCategoryByIds(Long[] ids);
}
